package net.ibizsys.eclipse.studio.file;

/**
 * <DAO对象>用户文件创建对象
 * 
 * @author <a href='http://www.weibo.com/xjtoo' target='_blank'>Enmaai</a>
 */
public class DAOFileBuilder extends SFFileBuilder
{
	@Override
	public String getFileType()
	{
		return "SF_DAO";
	}

	@Override
	protected void onInitDependPackage(StringBuilder builder)
	{
		super.onInitDependPackage(builder);
		
		builder.append("import org.springframework.stereotype.Repository;\n");
		builder.append("\n");
	}

	@Override
	protected void onInitAnnotation(StringBuilder builder)
	{
		super.onInitAnnotation(builder);
		
		builder.append("@Repository\n");
	}
}
